import{realURL} from "@/request/android.js"

export function loginIn(studentId,pwd){
	return new Promise((resolve,reject)=>{
		let rurl = realURL("/student/signIn")
		// console.log(rurl);
		uni.request({
			url:rurl,
			method:"GET",
			data:{
				"studentId":studentId,
				"password":pwd
			},
			success: (res) => {
				resolve(res)
			},
			fail(err) {
				reject(err)
			}
		})
	})
}